#!/usr/bin/env python

bld.SAMBA3_BINARY('rpcclient',
                 source='''rpcclient.c
                 cmd_lsarpc.c
                 cmd_samr.c
                 cmd_spoolss.c
                 cmd_netlogon.c
                 cmd_srvsvc.c
                 cmd_dfs.c
                 cmd_epmapper.c
                 cmd_dssetup.c
                 cmd_echo.c
                 cmd_shutdown.c
                 cmd_wkssvc.c
                 cmd_ntsvcs.c
                 cmd_drsuapi.c
                 cmd_eventlog.c
                 cmd_winreg.c
                 cmd_fss.c
                 cmd_clusapi.c
                 cmd_witness.c
		 cmd_iremotewinspool.c
                 cmd_spotlight.c
		 ''',
                 deps='''
                 talloc
                 CMDLINE_S3
                 cmdline_contexts
                 pdb
                 libsmb
                 smbconf
                 ndr-standard
                 msrpc3
                 SMBREADLINE
                 trusts_util
                 RPC_NDR_WINREG
                 RPC_NDR_ECHO
                 RPC_CLIENT_SCHANNEL
                 DCUTIL
                 LIBCLI_SAMR
                 libcli_lsa3
                 libcli_netlogon3
                 cli_spoolss
                 RPC_NDR_SRVSVC
                 RPC_NDR_WKSSVC
                 RPC_NDR_DSSETUP
                 RPC_NDR_DFS
                 RPC_NDR_DRSUAPI
                 RPC_NDR_NTSVCS
                 RPC_NDR_EVENTLOG
                 INIT_SAMR
                 RPC_NDR_FSRVP
                 RPC_NDR_CLUSAPI
                 RPC_NDR_WITNESS
                 RPC_NDR_WINSPOOL
                 mdssvc
                 RPC_NDR_MDSSVC
                 ''')
